package logica;

import java.security.Provider;
import java.security.Security;

public class SimpleTest
{
    public static void main (String[] args)
    {
        String Name= "BC";
        Provider[] providers = Security.getProviders();  
        for (int i=0; i < providers.length; i++) {  
            System.out.println(providers[i].toString());  
        }    
        if (Security.getProvider(Name) == null)
        {
            System.out.println("not installed");
        }
        else
        {
            System.out.println("installed");
        }
    }
}